/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import me.zhengjie.base.BaseEntity;

import java.sql.Timestamp;
import java.io.Serializable;

/**
* @description 低压舱高空
* @author huangwencong
* @date 2024-10-06
**/
@Data
@TableName("train_dycgksl")
public class TrainDycgksl extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "训练ID")
    private Long trainId;

    @ApiModelProperty(value = "训练项目ID")
    private Long trainItemId;

    @ApiModelProperty(value = "训练前地面(血氧饱和|心率|呼吸|血压)")
    private String xlqDm;

    @ApiModelProperty(value = "吸氧排氮(5500m)(血氧饱和|心率|呼吸|血压)")
    private String xl5500Xypd;

    @ApiModelProperty(value = "5500m即刻(血氧饱和|心率|呼吸|血压)")
    private String xl5500;

    @ApiModelProperty(value = "7000回到5500m即刻(血氧饱和|心率|呼吸|血压)")
    private String xlh5500;

    @ApiModelProperty(value = "5500m 60min(血氧饱和|心率|呼吸|血压)")
    private String xlh550060;

    @ApiModelProperty(value = "5500m 120min(血氧饱和|心率|呼吸|血压)")
    private String xlh5500120;

    @ApiModelProperty(value = "5500m 180min(血氧饱和|心率|呼吸|血压)")
    private String xlh5500180;

    @ApiModelProperty(value = "5500m 240min(血氧饱和|心率|呼吸|血压)")
    private String xlh5500240;

    @ApiModelProperty(value = "5500m 300min(血氧饱和|心率|呼吸|血压)")
    private String xlh5500300;

    @ApiModelProperty(value = "7000m 即刻(血氧饱和|心率|呼吸|血压)")
    private String xl7000;

    @ApiModelProperty(value = "7000m 20min(血氧饱和|心率|呼吸|血压)")
    private String xl700020;

    @ApiModelProperty(value = "7000m 40min(血氧饱和|心率|呼吸|血压)")
    private String xl700040;

    @ApiModelProperty(value = "7000m 60min(血氧饱和|心率|呼吸|血压)")
    private String xl700060;

    @ApiModelProperty(value = "7000m 80min(血氧饱和|心率|呼吸|血压)")
    private String xl700080;

    @ApiModelProperty(value = "7000m 100min(血氧饱和|心率|呼吸|血压)")
    private String xl7000100;

    @ApiModelProperty(value = "7000m 120min(血氧饱和|心率|呼吸|血压)")
    private String xl7000120;

    @ApiModelProperty(value = "7000m 140min(血氧饱和|心率|呼吸|血压)")
    private String xl7000140;

    @ApiModelProperty(value = "7000m 160min(血氧饱和|心率|呼吸|血压)")
    private String xl7000160;

    @ApiModelProperty(value = "7000m 180min(血氧饱和|心率|呼吸|血压)")
    private String xl7000180;

    @ApiModelProperty(value = "7000m 200min(血氧饱和|心率|呼吸|血压)")
    private String xl7000200;

    @ApiModelProperty(value = "7000m 220min(血氧饱和|心率|呼吸|血压)")
    private String xl7000220;

    @ApiModelProperty(value = "7000m 240min(血氧饱和|心率|呼吸|血压)")
    private String xl7000240;

    @ApiModelProperty(value = "7000m 260min(血氧饱和|心率|呼吸|血压)")
    private String xl7000260;

    @ApiModelProperty(value = "7000m 280min(血氧饱和|心率|呼吸|血压)")
    private String xl7000280;

    @ApiModelProperty(value = "7000m 300min(血氧饱和|心率|呼吸|血压)")
    private String xl7000300;

    @ApiModelProperty(value = "7000m 320min(血氧饱和|心率|呼吸|血压)")
    private String xl7000320;

    @ApiModelProperty(value = "7000m 340min(血氧饱和|心率|呼吸|血压)")
    private String xl7000340;

    @ApiModelProperty(value = "7000m 360min(血氧饱和|心率|呼吸|血压)")
    private String xl7000360;

    @ApiModelProperty(value = "训练后地面(血氧饱和|心率|呼吸|血压)")
    private String xlhDm;

    @ApiModelProperty(value = "主观症状(症状id1|症状id2|...|其他)")
    private String feels;

    @ApiModelProperty(value = "书写表现")
    private String sxbx;

    @ApiModelProperty(value = "结果判定(0:优秀,1:良好,2:合格,3:不合格)")
    private Integer result;

    @ApiModelProperty(value = "建议")
    private String jy;

    @ApiModelProperty(value = "记录日期")
    private Timestamp date;

    public void copy(TrainDycgksl source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
